package com.webemail.sys.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.webemail.sys.model.SysLabelMessage;

/**
 * @author LaiHQ
 */
@Component
public interface LabelMessageService {

int insert(SysLabelMessage temp);

int delete(long id, long userId);

int update(SysLabelMessage temp);

SysLabelMessage get(long id, long userId);

SysLabelMessage get(long userId,String labelId,String messageId,String table);

List<SysLabelMessage> list(long userId, String labelId);

int insert(List<SysLabelMessage> temp);

int deleteBath(long userId, String labelId);
}
